package com.groupseven.happycampus.service;

import com.groupseven.happycampus.common.pojo.BicycleSupplier;
import com.groupseven.happycampus.common.vo.BicycleSupplierBrandPieVo;
import com.groupseven.happycampus.common.vo.BicycleSupplierNameBarVo;
import com.groupseven.happycampus.common.vo.LayuiPageVo;

import java.util.List;
import java.util.Map;

public interface BicycleSupplierService {
    LayuiPageVo<BicycleSupplier> bicycleSupplierList(Map<String, Object> params);

    int bicycleSupplierAdd(BicycleSupplier bicycleSupplier);

    int bicycleSupplierUpdate(BicycleSupplier bicycleSupplier);

    int bicycleSupplierDelete(Integer id);

    List<BicycleSupplierNameBarVo> echartNameBar();

    List<BicycleSupplierBrandPieVo> echartsBrandPie();

    int deleteSupplierByIds(String ids);
}
